package ru.ifmo.croak.util;

/**
 * Main class that runs a set of components named in the command line.
 *
 * @author Roman Elizarov
 */
public class Main {
    public static void main(String[] args) {
        if (args.length == 0) {
            System.err.println("Usage: " + Main.class.getName() + " <name> [<name> ...]");
        }
        for (String name : args) {
            CroakFactory.getInstance().start(name);
        }
    }
}
